<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>
    <link rel="stylesheet" href="${css}/pintuer.css">
    <link rel="stylesheet" href="${css}/admin.css">
    <script src="${js}/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="${root}/adminHeadCaptcha" onclick="this.src=this.src+'?'" class="radius-circle rotate-hover" height="50"/>后台管理中心</h1>
    </div>
    <div class="head-l">
        <a class="button button-little bg-green" href="" target="_blank">
            <span class="icon-home"></span> 前台首页
        </a> &nbsp;&nbsp;
        <a class="button button-little bg-red" href="${root}/adminLoginView">
            <span class="icon-power-off"></span> 退出登录
        </a>
    </div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>用户管理</h2>
    <ul style="display:block">
        <li><a href="${root}/doShow/${admin.mid}" target="right"><span class="icon-caret-right"></span>个人中心</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>商城管理</h2>
    <ul>
        <li><a href="${root}/adminCategoryView" target="right"><span class="icon-caret-right"></span>类型添加</a></li>
        <li><a href="${root}/book/list" target="right"><span class="icon-caret-right"></span>商品展示</a></li>
        <li><a href="${root}/adminCategoryLoadBookView" target="right"><span class="icon-caret-right"></span>新书上架</a></li>
        <li><a href="${root}/orders/list" target="right"><span class="icon-caret-right"></span>订单显示</a></li>
        <li><a href="${root}/user/userShow" target="right"><span class="icon-caret-right"></span>客户管理</a></li>
    </ul>
</div>

<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
</ul>

<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="${root}/adminCategoryView" name="right" width="100%" height="100%"></iframe>
</div>

<div style="text-align:center;">
    <p>版权:<strong class="text-blue">@fengchunxiao</strong></p>
</div>

<script type="text/javascript">
    $(function(){
        $(".leftnav h2").click(function(){
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function(){
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });
</script>
</body>
</html>
